package com.thinkgem.jeesite.test.webservice.impl;

import java.util.ArrayList;
import java.util.List;

import javax.jws.WebService;

import org.springframework.stereotype.Component;

import com.thinkgem.jeesite.test.webservice.ServicemanWebService;

//endpointInterface 编写实现接口类名 service name 网络访问的名字 对应<wsdl:service name="studentws">
@Component("servicemanWebService")
@WebService(endpointInterface = "com.thinkgem.jeesite.test.webservice.ServicemanWebService", serviceName = "servicemanws")
public class ServicemanWebServiceImpl implements ServicemanWebService{

	
	
	@Override
	public List<String> getAllServiceman() throws Exception {
		// TODO Auto-generated method stub
		List<String> list = new ArrayList<String>();
		list.add("1");
		list.add("2");
		return list;
	}

}
